//
//  NetItemView.swift
//  XiaohuijiVPN
//
//  Created by whale on 2022/10/21.
//

import UIKit

class NetItemView: ICBaseView {

    override func _initUI() {
        topLbl = UILabel()
        topLbl.textColor = .title
        topLbl.font = .font(16)
        
        bottomLbl = ExpandLabel()
        bottomLbl.textColor = .content
        bottomLbl.font = .font(13)
        bottomLbl.maxLine = 10
        
        addSubview(topLbl)
        addSubview(bottomLbl)
    }
    
    override func initFrame() {
        topLbl.left_right(self).top(0).height(30.adapter)
        bottomLbl.left_right_offsetTop(topLbl)
        bottomLbl.initFrame()
        autoBottomInset = 10.adapter
        lastV = bottomLbl
        autoHeight()
    }

    var topLbl: UILabel!
    var bottomLbl: ExpandLabel!
}
